package com.gosling.cloudspace;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ImportResource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @email 1793327033@qq.com
 * @author: osc_lihonglin
 * @date: 2021/6/23 14:43
 */
@EnableSwagger2
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class, MultipartAutoConfiguration.class})
@ImportResource(locations = {"classpath:config/kaptchaConfig.xml"})
public class GoslingApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(GoslingApplication.class, args);
        System.out.println("项目启动了......");
        System.out.println("\n" +
                "                                  ▄▄▄▄         ██\n" +
                "                                  ▀▀██         ▀▀\n" +
                "     ▄███▄██   ▄████▄   ▄▄█████▄    ██       ████     ██▄████▄   ▄███▄██\n" +
                "    ██▀  ▀██  ██▀  ▀██  ██▄▄▄▄ ▀    ██         ██     ██▀   ██  ██▀  ▀██\n" +
                "    ██    ██  ██    ██   ▀▀▀▀██▄    ██         ██     ██    ██  ██    ██\n" +
                "    ▀██▄▄███  ▀██▄▄██▀  █▄▄▄▄▄██    ██▄▄▄   ▄▄▄██▄▄▄  ██    ██  ▀██▄▄███\n" +
                "     ▄▀▀▀ ██    ▀▀▀▀     ▀▀▀▀▀▀      ▀▀▀▀   ▀▀▀▀▀▀▀▀  ▀▀    ▀▀   ▄▀▀▀ ██\n" +
                "     ▀████▀▀                                                     ▀████▀▀\n");
    }

}

